{"version":3,"sources":["dragdrop.js"],"names":["BX","namespace","TileGrid","DragDrop","options","this","gridTile","draggableContainer","droppableItem","draggableItems","prototype","registerItem","object","onbxdragstart","proxy","onDragStart","onbxdrag","onDrag","onbxdragstop","onDragStop","onbxdraghover","onDragOver","onbxdraghout","onDragOut","jsDD","registerObject","registerDrop","registerDest","setDraggableItems","setDraggableContainer","div","proxy_context","item","getItem","dataset","id","selected","resetSelectAllItems","push","itemBlock","widthItem","layout","container","offsetWidth","i","length","cloneNode","style","width","appendChild","toggleActiveClass","onCustomEvent","document","body","x","y","left","top","destination","handlerDroppableClass","itemId","toggleClass","moveDraggableItems","parentNode","removeChild","z","isDroppable","animateNode","moveItem","items","create","attrs","className","height","offsetHeight","classList","contains","remove","add"],"mappings":"CAAC,WAED,aAEAA,GAAGC,UAAU,eAEbD,GAAGE,SAASC,SAAW,SAASC,GAE/BC,KAAKC,SAAWF,EAChBC,KAAKE,mBAAqB,KAC1BF,KAAKG,cAAgB,KACrBH,KAAKI,mBAGNT,GAAGE,SAASC,SAASO,WAEpBC,aAAc,SAASC,GAEtBA,EAAOC,cAAgBb,GAAGc,MAAMT,KAAKU,YAAaV,MAClDO,EAAOI,SAAWhB,GAAGc,MAAMT,KAAKY,OAAQZ,MACxCO,EAAOM,aAAelB,GAAGc,MAAMT,KAAKc,WAAYd,MAChDO,EAAOQ,cAAgBpB,GAAGc,MAAMT,KAAKgB,WAAYhB,MACjDO,EAAOU,aAAetB,GAAGc,MAAMT,KAAKkB,UAAWlB,MAC/CmB,KAAKC,eAAeb,IAGrBc,aAAc,SAASd,GAEtBY,KAAKG,aAAaf,EAAQ,KAG3BG,YAAa,WAEZV,KAAKuB,oBACLvB,KAAKwB,wBAEL,IAAIC,EAAM9B,GAAG+B,cACb,IAAIC,EAAO3B,KAAKC,SAAS2B,QAAQH,EAAII,QAAQC,IAE7C,IAAIH,EAAKI,SACT,CACC/B,KAAKC,SAAS+B,sBACdhC,KAAKI,kBACLJ,KAAKI,eAAe6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